package com.flycat.dao.mapper;


import com.flycat.core.Mapper;
import com.flycat.dao.po.SysPermission;

import java.util.List;

public interface SysPermissionMapper extends Mapper<SysPermission> {

//    List<SysPermission> selectByAdminUserId(Integer id);

    List<SysPermission> selectByRole(Integer role);

    List<SysPermission> selectMenusByRole(Integer code);
}